package Domain;

import java.util.Observable;
import java.util.Observer;

/**
 *
 * @author kenneth
 */
public class ObservableManager extends Observable { 
    
    public ObservableManager(Observer o) {
        this.addObserver(o);
    }
    
    public void updateMessage(String message) {
        this.setChanged();
        this.notifyObservers(message);
    }
    
}
